package spring.my.db.sharding.demo.response;

import spring.my.db.sharding.demo.enums.Order;

public class SqlOrder {

    private String orderBy;
    // 0 = ASC, 1 = DESC
    private Order order = Order.ASC;

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

}
